package com.edu.oma.protocol.redis;


public interface RedisClient {
	
	String get(String key);

	boolean hasKey(String string);
	

//    boolean setKeyValue( String key, String value);


    boolean setKeyValueAndCommExpired(String key, String value);
	boolean setKeyValueAndExpired(String key, String value, Long second);



	boolean setHashAndCommExpired(String key, String field, String value);
	boolean setHashAndExpired(String key, String field, String value, Long seconds);


	String getHash(String key, String field);
	void deleteHash(String key);

}
